﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Flagwind.Infrastructure
{
	/// <summary>
	/// 表示坐标实体
	/// </summary>
	public class GeoPoint
	{
		#region 构造函数

		/// <summary>
		/// 构造函数
		/// </summary>
		/// <param name="lon">经度</param>
		/// <param name="lat">纬度</param>
		public GeoPoint(double lon, double lat)
		{
			Lon = lon;
			Lat = lat;
		}

		/// <summary>
		/// 构造函数
		/// </summary>
		public GeoPoint() : this(0, 0)
		{

		}

		#endregion

		#region 公共属性

		/// <summary>
		/// 获取或设置所在经度
		/// </summary>
		public double Lon
		{
			get; set;
		}

		/// <summary>
		/// 获取或设置所在纬度
		/// </summary>
		public double Lat
		{
			get; set;
		}

		#endregion
	}
}
